package com.yanqu.road.server.timer.cross.battle.timer.task;

import com.yanqu.road.server.manager.zhaoshang.ZsMgr;
import com.yanqu.road.utils.executor.GeneralTask;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

public class ZhaoShangCheckTask extends GeneralTask {

    protected Logger logger = LogManager.getLogger(ZhaoShangCheckTask.class.getName());

    public ZhaoShangCheckTask() {
    }

    @Override
    public void doRun() {
        try {
            ZsMgr.checkAllProjectState();
        }catch (Exception e) {
            logger.error("zhaoShang project state check error:", e);
        }
    }
}
